<?php
/**
 * @link http://cn2.php.net/manual/en/migration54.incompatible.php
 * @version $Id: 12_array_combine.php 211 2012-03-02 10:56:14Z horseluke@126.com $
 */

/*
12. array_combine() now returns array() instead of FALSE 
when two empty arrays are provided as parameters.

PHP 5.3:
Warning: array_combine(): Both parameters should have at least 1 element in D:\h
tdoc_custom\php_5_4\12_array_combine.php on line 22
bool(false)

PHP 5.4:
array(0) {
}

*/
error_reporting(E_ALL);

$a = array();
$b = array();
$c = array_combine($a, $b);
var_dump($c);